package nc.ui.arap.service;

import nc.itf.arap.service.IArapEJBService;
import nc.itf.arap.service.IArapServiceProxy;
import nc.vo.arap.service.ServiceVO;

/**
 * business service ejb wrapper Created by EJBGenerator based on velocity
 * technology
 */
public class ServiceProxyHelper {
	private static String beanName = IArapServiceProxy.class.getName();

	public static java.lang.Object[] call(ServiceVO[] arg0) throws Exception {
		IArapServiceProxy bo = (IArapServiceProxy) nc.bs.framework.common.NCLocator
				.getInstance().lookup(beanName);
		java.lang.Object[] o = null;
		o = bo.call(arg0);
		return o;
	}
	public static java.lang.Object[] callEJBService(String modulename,ServiceVO[] arg0) throws Exception {
		IArapEJBService bo = (IArapEJBService) nc.bs.framework.common.NCLocator
				.getInstance().lookup(IArapEJBService.class.getName());
		java.lang.Object[] o = null;
		o = bo.callEJBService(modulename,arg0);
		return o;
	}
	public static java.lang.Object[] callService(String modulename,ServiceVO[] arg0) throws Exception {
		IArapServiceProxy bo = (IArapServiceProxy) nc.bs.framework.common.NCLocator
		.getInstance().lookup(beanName);
		java.lang.Object[] o = null;
		o = bo.callService(modulename,arg0);
		return o;
}
}